//
//  TalkDefine.h
//  talkDemo
//
//  Created by telen on 15/4/17.
//  Copyright (c) 2015年 刘赞黄Telen. All rights reserved.
//

#ifndef talkDemo_TalkDefine_h
#define talkDemo_TalkDefine_h

#define __TalkBaseBackColor [UIColor colorWithRed:124/255.0 green:132/255.0 blue:197/255.0 alpha:1]
#define __TalkBaseBackColor_2 [UIColor colorWithRed:100/255.0 green:108/255.0 blue:173/255.0 alpha:0.6]

#define TalkLocalizedString(a,b) NSLocalizedStringFromTable(a, @"talk", b)

#define Debug_To_UploadURL  0 //Show Log
#define Talk_Upload_Share_Close 1//是否关闭 上传与分享

//#define TLLOG_ON//定义即开启TLLOG的打印功能。
//#define TLDebug_ON//定义即开启TLDebug日志打印功能

#pragma mark- 通用Define
//TLLOG
#define __TLLOG(s, ...) \
NSLog(@"%@",[NSString stringWithFormat:(s), ##__VA_ARGS__])
#ifdef TLLOG_ON
#define TLLOG(...) __TLLOG(__VA_ARGS__)
#else
#define TLLOG(...) do {} while (0)
#endif

//TLDebug
#ifdef TLDebug_ON
#define TLDebug() TLLOG(@"\\\\%s>>line:%d\n",__FUNCTION__,__LINE__)
#define TLDebugS(id,...) TLLOG(@"\\\\%s>>line:%d >>%@ \n",__FUNCTION__,__LINE__,[NSString stringWithFormat:(id), ##__VA_ARGS__])
#else
#define TLDebug() do{} while(0)
#define TLDebugS(...) do{} while(0)
#endif

//libs
#import "MDRadialProgressView.h"
#import "MDRadialProgressTheme.h"

//+
#import "UIView+Debug.h"
#import "Lyt.h"

//vc
#import "TalkViewController.h"

//ui
#import "TalkBookCoverView.h"
#import "TalkAllQuestionsView.h"
#import "TalkRecordingView.h"
#import "TalkVideoPlayView.h"
#import "TalkVedioEditView.h"
#import "TalkShareSelectView.h"

//

#endif
